import Bar from "@/components/Bar"
function Home () {
  return (
    <div style={{ display: 'flex' }}>
      {/* 渲染Bar组件 */}
      <Bar title='热门文章'
        xData={['姬你太美', '谁懂家人们', '诞生1996']}
        yData={['555', '666', '888']}
        style={{ width: '500px', height: '400px' }}></Bar>
      <Bar title='上涨榜'
        xData={['在这么冷的天', '原来你也', '麦克阿瑟传奇故事']}
        yData={['30', '40', '50']}
        style={{ width: '500px', height: '400px' }}></Bar>
    </div>
  )
}
export default Home